<?php


namespace App\Job;


use Swoole\Server;

interface Handler
{
    public function onWorkerStart(Server $server);

    public function onTask(Server $server,  RedisJob $redisJob);
}